include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/package.mk

PKG_NAME:=netscan
PKG_VERSION:=1
PKG_BUILD_DIR:= $(BUILD_DIR)/$(PKG_NAME)

define Package/netscan
  SECTION:=Bob
  CATEGORY:=Bob Proprietary software
  TITLE:=Bob Netscan
  DEPENDS:= +libuci
endef

define Package/netscan/Description
  This package contains host scan program
endef


define Build/Prepare 
	mkdir -p $(PKG_BUILD_DIR) 
	$(CP) ./src/* $(PKG_BUILD_DIR)/ 
endef 

define Package/netscan/install 
	$(INSTALL_DIR) $(1)/sbin
	$(INSTALL_BIN) $(PKG_BUILD_DIR)/netscan $(1)/sbin/netscan
endef



$(eval $(call BuildPackage,netscan))
